Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

You need more info

You need to know what algorithm (cipher, mode, and padding) that they want the data encrypted with. You may also need to know what charset they expect the json data to be encoded with (UTF-8, UTF-16?) prior to encryption. If they didn't tell you these things, then I kind of wonder if they actually know what they're doing. And the fact that you have described this as "I can post this encrypted string to the other website for the to decrypt using my private key" also makes me suspcious, because it sounds backwards! They should not have your private key! Only you should know your private key, otherwise it's not private!

Also, it is actually unusual to encrypt data directly with a public key, unless the data is relatively small. In most applications, the public key is used to encrypt a randomly generated symmetric key, the symmetric key is then used to encrypt the application data, and then both the encrypted applicaton data and the encrypted symmetric key are transmitted.

-rich


Feedback response number WEBB9YVSL5 created by ~Ned Nimfanakonyoopsi on 07/29/2015

How do I encrypt a JSON with a publ... (~Carol Fezkipul... 29.Jul.15)
. . You need more info (~Ned Nimfanakon... 29.Jul.15)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS